package Observes;

/**
 * Created by arlen on 2017/1/14.
 */
public class MainTest {
    public static void main(String args[]){
        System.out.println("test observe");
        Order order=new Order();
        order.addObserver(new SendGoods());
        order.addObserver(new InsertLog());
        order.ordered(true);
    }
}
